package com.kuaimacode.kframework.mybatis.models.user;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 12786 on 2019/3/19.
 * @version 1.0
 */
@Data
public class OrderNear {
    @ApiModelProperty(value = "预计/收入")
    @TableField("expected_income")
    private String expectedIncome;
    @ApiModelProperty(value = "订单号")
    @TableField("order_no")
    private String orderNo;
    @ApiModelProperty(value = "分站Id")
    @TableField("agent_id")
    private String agentId;
    @TableField("amount")
    private String amount;
    @ApiModelProperty(value = "发货地距离")
    @TableField("shop_distance")
    private String shopDistance;
    @ApiModelProperty(value = "起终距离")
    @TableField("two_point_distance")
    private String twoPointDistance;
    @ApiModelProperty(value = "订单类型 1跑腿2万能帮办3技术维修")
    @TableField("type")
    private String type;
    @ApiModelProperty(value = "物品名")
    @TableField("category_name")
    private String categoryName;
    @ApiModelProperty(value = "重量")
    @TableField("weight")
    private String weight;
    @ApiModelProperty(value = "服务费")
    @TableField("service_fee")
    private String serviceFee;
    @ApiModelProperty(value = "代收款")
    @TableField("collection_amount")
    private String collectionAmount;
    @ApiModelProperty(value = "发货地址")
    @TableField("from_address")
    private String fromAddress;
    @ApiModelProperty(value = "收货地址")
    @TableField("to_address")
    private String toAddress;
    @ApiModelProperty(value = "种类")
    @TableField("category")
    private String category;
    @ApiModelProperty(value = "发货人手机")
    @TableField("from_phone")
    private String fromPhone;
    @ApiModelProperty(value = "收货人手机")
    @TableField("to_phone")
    private String toPhone;
    @ApiModelProperty(value = "发货人")
    @TableField("from_user_name")
    private String fromUserName;
    @ApiModelProperty(value = "收货人")
    @TableField("to_user_name")
    private String toUserName;
    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;
    @ApiModelProperty(value = "子类型")
    @TableField("child_type")
    private String childType;
    @ApiModelProperty(value = "订单日期")
    @TableField("order_date")
    private Date  orderDate;
    @ApiModelProperty(value = "取货地址/上门地址维度")
    @TableField("fromLatitude")
    private String fromLatitude;
    @ApiModelProperty(value = "取货地址/上门地址经度")
    @TableField("fromLongitude")
    private String fromLongitude;
    @ApiModelProperty(value = "送货地址维度")
    @TableField("toLatitude")
    private String toLatitude;
    @ApiModelProperty(value = "送货地址经度")
    @TableField("toLongitude")
    private String toLongitude;
    @ApiModelProperty(value = "预计送达/上门时间")
    @TableField("forecast_delivery_time")
    private Date forecastDeliveryTime;
    @ApiModelProperty(value = "订单操作实效")
    @TableField("hasInstantDesc")
    private String hasInstantDesc;
    @ApiModelProperty(value = "订单 帮我送备注信息/随意购商品信息 根据type，childType获取")
    @TableField("remark")
    private String remark;
    @ApiModelProperty(value = "insurance保价金额")
    @TableField("insurance")
    private String insurance;
    @ApiModelProperty(value = "取消原因")
    @TableField("cancle_remark")
    private String cancleRemark;
    @ApiModelProperty(value = "收货验证码")
    @TableField("verify_code")
    private String verifyCode;
    @ApiModelProperty(value = "万能帮办定价方式 1-定价 2-不定价")
    @TableField("price_way")
    private Integer priceWay;

    @ApiModelProperty(value = "万能帮办定价服务费")
    @TableField("anyhelp_fee")
    private BigDecimal anyhelpFee;


    @ApiModelProperty(value = "万能帮办不定价服务费")
    @TableField("onsite_fee")
    private BigDecimal onsitFee;


    @ApiModelProperty(value = "是否合作商家订单  1-是 0-否")
    @TableField(value = "has_partner")
    private Integer hasPartner;
    @ApiModelProperty(value = "合作商家订单数量")
    @TableField(value = "partner_number")
    private Integer partnerNumber;

    @ApiModelProperty(value = "合作商家订单每笔金额")
    @TableField(value = "partner_per_amount")
    private BigDecimal partnerPerAmount;

    @ApiModelProperty(value = "物品种类Id")
    @TableField(value = "category_id")
    private Long categoryId;

    @ApiModelProperty(value = "物品种类Type")
    @TableField(value = "category_type")
    private Integer categoryType;

    @ApiModelProperty(value = "取货送货时间")
    @TableField("task_time")
    private Date taskTime;

    @ApiModelProperty(value = "合作商家地址")
    @TableField("partner_address")
    private String partnerAddress;

    @ApiModelProperty(value = "合作商家电话")
    @TableField("partner_phone")
    private String partnerPhone;

    @ApiModelProperty(value = "合作商家地址纬度")
    @TableField("partner_latitude")
    private String partnerLatitude;

    @ApiModelProperty(value = "合作商家地址经度")
    @TableField("partner_longitude")
    private String partnerLongitude;

    @ApiModelProperty(value = "合作商家名称")
    @TableField("partner_name")
    private String partnerName;

    @ApiModelProperty(value = "合作商家单笔基础费用")
    @TableField("partner_amount")
    private BigDecimal partnerAmount;

    @ApiModelProperty(value = "详情模板类型 1-跑腿帮我送、帮我取  2-随意购普通 3-随意购附近购买 4-技术服务类定价  5-技术服务类不定价 6 -合作商家")
    private Integer detailTemplate;//详情模板类型

    @ApiModelProperty(value = "音频")
    @TableField("audio")
    private String audio;

    @ApiModelProperty(value = "取货地-楼层门牌号")
    @TableField("from_doorplate")
    private String fromDoorplate;

    @ApiModelProperty(value = "送货地-楼层门牌号")
    @TableField("to_doorplate")
    private String toDoorplate;


    @ApiModelProperty(value = "商品费用（随意购时生效）")
    private BigDecimal goodsAmount;

    @ApiModelProperty(value = "货物图片")
    private String goodsImages;

    @ApiModelProperty(value = "图片")
    private String images;

    @ApiModelProperty(value = "货物图片集合")
    private List<String> goodsImagesList;

    @ApiModelProperty(value = "图片集合")
    private List<String> imagesList;
}
